package com.example.mall.query;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

/**
 * @Author: xxxliu
 * @CreateTime: 2025-05-20
 * @Version: 1.0
 */
@Data
public class ProductsQueryDto{

    //商品分类
    private Long productsTypeId;
    //等级名字
//    private String gradeName;
    //关键字搜索
    private String keyword;
    //分页相关
    private Integer page = 1;
    private Integer rows = 12;
    //最大价格
    private Double priceMax;
    //最小价格
    private Double priceMin;
    //排序的字段
    private String sortField;
    //排序的类型
    private String sortType;
    //机构名
//    private String tenantName;
}
